package com.ts.content.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.ts.content.dto.TopicDTO;
import com.ts.content.entity.TopicEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 圈子
 *
 * @author admin admin@qq.com
 * @since 1.0.0 2023-02-22
 */
@Mapper
public interface TopicMapper extends BaseMapper<TopicEntity> {

    public IPage getTopicList(IPage<TopicDTO> page);

    public IPage<TopicEntity> getUserTopicList(IPage<TopicEntity> page, @Param("userId") Integer userId);
	
}